const tencentcloud = require("tencentcloud-sdk-nodejs");
const IaiClient = tencentcloud.iai.v20200303.Client;
const secretId = 'AKID1sa6hGgroaKtIUQ7ZosjLUTJyTnwxspz'
const secretKey = 'qY6RbcQzMUN6nNByc8e6nRwEH8lBSUkt'

const clientConfig = {
    credential: {
        secretId,
        secretKey,
    },
    region: "ap-shanghai",
    profile: {
        httpProfile: {
            endpoint: "iai.tencentcloudapi.com",
        },
    },
};
const client = new IaiClient(clientConfig);
module.exports = {
    client
}
